package is.model.bean;

import is.interfaces.HierarchyBean;

/**
 *
 * @author aspr0
 */
public abstract class AbstractHierarchyBean extends AbstractBean implements HierarchyBean
{
    protected Integer parentId;
    protected Integer nesting;

    @Override
    public Integer getParentId()
    {
        return parentId;
    }

    @Override
    public void setParentId(Integer parentId)
    {
        this.parentId = parentId;
    }

    @Override
    public Integer getNesting()
    {
        return nesting;
    }

    @Override
    public void setNesting(Integer nesting)
    {
        this.nesting = nesting;
    }
}
